import { setupPinia } from './pinia'
import { setupTailwindcss } from './tailwindcss/index'
import { setupVueMap } from './vuemap'

export function setupPlugins(app) {
  // 添加 meta 标签，用于处理使用 Naive UI 和 Tailwind CSS 时的样式覆盖问题
  const meta = document.createElement('meta')
  meta.name = 'naive-ui-style'
  document.head.appendChild(meta)

  setupPinia(app)
  setupVueMap(app)
  setupTailwindcss()
}
